<%@page pageEncoding="UTF-8"%>
<%@page import="java.util.List"%>
<%@page import="com.byComputer.bo.*"%>
<%@page import="com.byComputer.vo.*"%>

<%
	String idStr = request.getParameter("id");
	String numStr = request.getParameter("num");
	System.out.println(idStr+":"+numStr);
	Cart cart = Cart.getInstance(request);
	cart.updateItem(Integer.valueOf(idStr), Integer.valueOf(numStr));
	response.sendRedirect("cart.jsp");
%>